<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<link rel="shortcut icon" href="https://static.segmentfault.com/v-598e31cb/global/img/favicon.ico">
</head>
<body>
	<div id="box1">
		{{last | resere}}
	</div>


	<script src="js/vue.js"></script>
	<script type="text/javascript">
	window.onload  =function(){

		Vue.filter("resere",function(val){
			return val.split("").reverse().join("")


		})

		var app1 = new Vue({
				el:"#box1",
				data:{//数据
					first:"aaa",
					last:"abc",
					ok:false
				},
				methods:{//方法
					
				},
				computed:{
					
				},
				watch:{
					
				}
			})
			


	}
	
	</script>
</body>
</html>